#ifndef IMAGEPROPERTY_H
#define IMAGEPROPERTY_H

#include <QDialog>

#include <shotscreenswebapi.h>
#include <QInputDialog>
namespace Ui {
    class ImageProperty;
}

class ImageProperty : public QDialog
{
    Q_OBJECT

public:
    explicit ImageProperty(QWidget *parent = 0);


    ~ImageProperty();

    void ClearFolderList();
    void SetAPIHandle(ShotScreensWebAPI *api);
    void SetImageData(QByteArray);
    void FillFolders();
    QList <QString> folderNames;
    QList <QString> folderHashes;
private:
    Ui::ImageProperty *ui;

    ShotScreensWebAPI *my_api;
    QByteArray image_data;
    struct FOLDER_ITEM
    {
        QString folder_hash;
        QString folder_name;
    };

    QList <FOLDER_ITEM> folders;
    QInputDialog dialog;
private slots:
    void on_pushButton_3_clicked();
    void on_pushButton_2_clicked();



};

#endif // IMAGEPROPERTY_H
